<?php

namespace common\enums;

/**
 * 状态枚举
 *
 * Class StatusEnum
 * @package common\enums
 * @author jianyan74 <751393839@qq.com>
 */
class StatusEnum extends BaseEnum
{
    const ENABLE = 2;
    const ENABLEDS = 2;
    const ENABLED = 1;
    const DISABLED = 0;
    const DELETE = -1;

    const rankone = 1;
    const ranktwo = 2;
    const rankthree = 3;
    const rankfour =4;
    const rankfive = 5;
    const ranksix = 6;
    const rankseven = 7;
    const rankeight = 8;
    const ranknine = 9;
    const rankten = 10;
    const rankeleven = 11;
    const ranktwelve = 12;

    /**
     * @return array
     */
    public static function getMap(): array
    {
        return [
            self::ENABLED => '启用',
            self::DISABLED => '禁用',
            // self::DELETE => '已删除',
        ];
    }
    /*
     * huliangqing
     */
    public static function getMaps(): array
    {
        return [
            self::ENABLED => '男',
            self::DISABLED => '女',
            // self::DELETE => '已删除',
        ];
    }
    /*
    * huliangqing
    */
    public static function getMape(): array
    {
        return [
            self::ENABLED => '是',
            self::DISABLED => '否',
            // self::DELETE => '已删除',
        ];
    }
    /*
   * 等级
   */
    public static function getRank(): array
    {
        return [
            self::rankone => 'P1',
            self::ranktwo => 'P2',
            self::rankthree => 'P3',
            self::rankfour => 'P4',
            self::rankfive => 'P5',
            self::ranksix => 'P6',
            self::rankseven => 'P7',
            self::rankeight => 'P8',
            self::ranknine => 'P9',
            self::rankten => 'P10',
            self::rankeleven => 'P11',
            self::ranktwelve => 'P12',
        ];

    }
    public static function getStatus(): array
    {
        return [
            self::DISABLED => '未开始',
            self::ENABLED => '进行中',
            self::ENABLE => '已完结',

        ];
    }
    public static function type(){
        return [
            self::ENABLED => '长假',
            self::DISABLED => '短假',
            // self::DELETE => '已删除',

        ];
    }
    public static function project(): array
    {
        return [
            self::ENABLED => '进行中',
            self::ENABLE => '已完成',

        ];
    }
    public static function wang(): array
    {
        return [
            self::ENABLED => '已结束',
            self::ENABLEDS => '预约',
            // self::DELETE => '已删除',
        ];
    }
}